package com.gistone.commis.mapper;

import com.gistone.commis.entity.PositionType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface PositionTypeMapper {


    @Select("SELECT * FROM tb_position_type")
    List<PositionType> findPositionTypes();
    int deleteByPrimaryKey(Integer positionId);

    int insert(PositionType record);

    int insertSelective(PositionType record);

    PositionType selectByPrimaryKey(Integer positionId);

    int updateByPrimaryKeySelective(PositionType record);

    int updateByPrimaryKey(PositionType record);

    List<PositionType> selectSelective(PositionType positionType);
}